package com.b2s.scrumblr.kb.model;

import org.apache.ibatis.type.Alias;

import java.io.Serializable;

/**
 * Created by xbzheng on 2016/8/25.
 */
@Alias("Resource")
public class Resource implements Serializable{
    private static final long serialVersionUID = 879874542225665l;
    private String id;
    private String resourceName;
    private int resourceType;
    private String resourceContent;
    private String descr;

    private String cacheKey = "resourceName";

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getResourceName() {
        return resourceName;
    }

    public void setResourceName(String resourceName) {
        this.resourceName = resourceName;
    }

    public int getResourceType() {
        return resourceType;
    }

    public void setResourceType(int resourceType) {
        this.resourceType = resourceType;
    }

    public String getResourceContent() {
        return resourceContent;
    }

    public void setResourceContent(String resourceContent) {
        this.resourceContent = resourceContent;
    }

    public String getDescr() {
        return descr;
    }

    public void setDescr(String descr) {
        this.descr = descr;
    }

    public String getCacheKey() {
        return cacheKey;
    }
}
